package org.sefer.web;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class TestServlet extends HttpServlet {
	
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		System.out.println("hit");
		try {
			Thread.sleep(59000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		
		resp.getWriter().write("ok");
		resp.getWriter().flush();
		System.out.println("hit end");
	}

}
